package org.ezjava.rpc.dubbo.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Erik
 * @create 2021-08-06 15:35
 * @description
 **/
@RestController
public class HelloNameController {

    @GetMapping("/helloName/{userName}")
    public String helloName(@PathVariable("userName") String userName) {

        return "Hello " + userName;

    }
}
